package com.start_eternity.oasissafewalk.mapper;
//登录
import com.start_eternity.oasissafewalk.pojo.Account;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface LoginMapper {
    //根据用户名及密码查询员工
    @Select("select * from oasis_safe_walk.account where username = #{username} and password = #{password}")
    Account getByUsernameAndPassword(Account account);
}